from django.contrib import admin
from competitions.models import *

#Custom admins
#class TeamCategoryByClubAdmin(admin.ModelAdmin):
#    list_filter = ('team_category','club')
#    list_display = ('club','team_category')

admin.site.register(Country)
admin.site.register(ZipCode)    
admin.site.register(ExtraSetup)
admin.site.register(Federation)
admin.site.register(HMSSetup)
admin.site.register(RefereeLevel)
admin.site.register(Category)
admin.site.register(Club)
admin.site.register(Team)
admin.site.register(Player)
admin.site.register(PlayerSigning)
admin.site.register(Referee)
admin.site.register(Tournament)
admin.site.register(TournamentPhase)
admin.site.register(HockeyField)
admin.site.register(Match)
admin.site.register(PlayerOnMatch)
admin.site.register(Standings)
admin.site.register(TournamentHistory)
admin.site.register(TournamentPhaseHistory)
admin.site.register(MatchHistory)
admin.site.register(PlayerOnMatchHistory)
admin.site.register(StandingsHistory)
